package com.demo.gateway.user.entity;

import java.io.Serializable;
import javax.persistence.*;

@Table(name = "user")
public class User implements Serializable {
    @Id
    private Integer id;

    private String name;
    private Integer userAge;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getUserAge() {
        return userAge;
    }

    public void setUserAge(Integer userAge) {
        this.userAge = userAge;
    }
}